package controller

import (
	"Last/model"
	"fmt"
	"github.com/gin-gonic/gin"
)

func CreateMneuTree(c *gin.Context) {
	MenuTree := model.CreateMenuTree()
	fmt.Println(MenuTree)
	c.JSON(200, gin.H{
		"code": 200,
		"data": MenuTree,
	})
}
